<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const set=new Set([1,5,4,5,4,9,6,{a:1},{a:1}])
        // set.clear()
        // set.add('addd')
        // set.delete('addd')
        console.log(set)
        // console.log(set.entries())
        // console.log(set.has('100'))  判断是否含有'100'这一项返回布尔值
        const map=new Map([[{a:1},1234],[{dd:1},132]])
        console.log(map.entries())
         const arr=[1,2,3]
        for(let item of arr){
            console.log(item)
        }
        const obj={
            a:1,
            b:2,
            c:3,
        }
        for(let item in obj){
            console.log(item,obj[item])
        }
        // for in 遍历的值是key
    </script>
</body>
</html>